def anmail(f):
    print("我是动物")

    def peoPle(*d):
        print("-----------")
        print(f"我开始跑了：{f}")
        print(f(*d))
        print("我不跑了")

    return peoPle


print("我是人")


# 加
@anmail
def jia(a=10, b=20):
    return a + b
# def jian(a=20, b=10):
#     return a - b


@anmail
def jian(a=20, b=10):
    return a - b


if __name__ == '__main__':
    # a = anmail()
    # a()
    # print(a,type(a))
    jia()
    jian()
    jia(100, 20)
    jia(80, 72)
    jia(10, 20)
    jia(30, 29)
    jian(80, 68)
    jian(101, 1)
    jian(19, 8)
    jian(58, 18)
